package com.stormrage.entity.learn.req;

import java.io.Serializable;

import com.stormragetech.core.entity.Page;

public class LeaStudentVideoReq implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 2015380596859950758L;

	// ------------------------------- Fields -------------------------------

	private Integer stuId;

	private Integer courseId;

	private Integer ness;

	private Page page;

	// ------------------------------- Fields -------------------------------

	public LeaStudentVideoReq() {

	}

	// ------------------------------- Fields -------------------------------

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Integer getCourseId() {
		return courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public Integer getNess() {
		return ness;
	}

	public void setNess(Integer ness) {
		this.ness = ness;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaStudentVideoReq instance(Integer stuId, Integer courseId, Integer ness, Page page) {
		LeaStudentVideoReq entity = new LeaStudentVideoReq();
		entity.setStuId(stuId);
		entity.setCourseId(courseId);
		entity.setNess(ness);
		entity.setPage(page);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : stuId - " + stuId + " courseId - " + courseId + " ness - " + ness + " page - "
				+ page;
	}

}